<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
    <title>湖南省自来水公司营销管理信息系统</title>

    <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" title="no title"/>
    <link rel="stylesheet" href="../css/text.css" type="text/css" media="screen" title="no title"/>
    <link rel="stylesheet" href="../css/form.css" type="text/css" media="screen" title="no title"/>
    <link rel="stylesheet" href="../css/buttons.css" type="text/css" media="screen" title="no title"/>
    <link rel="stylesheet" href="../css/grid.css" type="text/css" media="screen" title="no title"/>
    <link rel="stylesheet" href="../css/layout.css" type="text/css" media="screen" title="no title"/>

    <link rel="stylesheet" href="../css/ui-darkness/jquery-ui-1.8.12.custom.css" type="text/css" media="screen"
          title="no title"/>
    <link rel="stylesheet" href="../css/plugin/jquery.visualize.css" type="text/css" media="screen" title="no title"/>
    <link rel="stylesheet" href="../css/plugin/facebox.css" type="text/css" media="screen" title="no title"/>
    <link rel="stylesheet" href="../css/plugin/uniform.default.css" type="text/css" media="screen" title="no title"/>
    <link rel="stylesheet" href="../css/plugin/dataTables.css" type="text/css" media="screen" title="no title"/>

    <link rel="stylesheet" href="../css/custom.css" type="text/css" media="screen" title="no title">
    <style type="text/css">
        .data td, .data th, .data tr {
            padding: 10px 2px !important;
            text-align: right !important;
        }
    </style>
</head>

<body>

<div id="wrapper">


    <div id="header">

        <div class="content_pad">
            <h1><a href="../workspace.html">湖南省自来水公司营销管理信息系统</a></h1>

            <ul id="nav">

                <li class="nav_dropdown nav_icon">
                    <a href="javascript:;"><span class="ui-icon ui-icon-wrench"></span>业扩工程</a>

                    <div class="nav_menu">
                        <ul>
<<<<<<< HEAD
                            <li><a href="/show">01 用户申请</a></li>
                            <li><a href="/queryBeOrder">02 初步审核</a></li>
                            <li><a href="/queryBeOrderfei">03 交施工费</a></li>
                            <li><a href="/queryBeOrdershui">04 水费清算</a></li>
                            <li><a href="/queryBeOrdergong">05 供水协议</a></li>
                            <li><a href="be__working.html">06 施工竣工</a></li>
                            <li><a href="be__open.html">07 通水停水</a></li>
                            <li><a href="be__save.html">08 档案存档</a></li>
                            <li><a href="queryAllOrd.html">工单管理</a></li>
                            <li><a href="zhzgd">终止工单</a></li>
                            <li><a href="cxstat">业扩工程进度</a></li>
                            <li><a href="GJcxCharge">业扩收费报表</a></li>
=======
                            <li><a href="../page/be__request.html">01 用户申请</a></li>
                            <li><a href="../page/be__audit.html">02 初步审核</a></li>
                            <li><a href="../page/be__pay.html">03 交施工费</a></li>
                            <li><a href="../page/be__billclear.html">04 水费清算</a></li>
                            <li><a href="../page/be__contract.html">05 供水协议</a></li>
                            <li><a href="../page/be__working.html">06 施工竣工</a></li>
                            <li><a href="../page/be__open.html">07 通水停水</a></li>
                            <li><a href="../page/be__save.html">08 档案存档</a></li>
                            <li><a href="../page/be_order.html">工单管理</a></li>
                            <li><a href="../page/be_abort.html">终止工单</a></li>
                            <li><a href="../page/be_reportProgress.html">业扩工程进度</a></li>
                            <li><a href="../page/be_reportMoney.html">业扩收费报表</a></li>
>>>>>>> 44fe0bde40fc461e32cae351c1883e6b70f9db82
                        </ul>

                    </div>
                </li>

                <li class="nav_dropdown nav_icon">
                    <a href="javascript:;"><span class="ui-icon ui-icon-person"></span>用户管理</a>

                    <div class="nav_menu">
                        <ul>
                            <li><a href="../page/user_search.html">用户查询</a></li>
                            <li><a href="../page/user_add.html">快捷新户</a></li>
                            <li><a href="../page/user_changeName.html">快捷过户</a></li>
                            <li><a href="../page/user_changeBank.html">快捷代扣</a></li>
                            <li><a href="../page/user_changeMeter.html">快捷换表</a></li>
                            <li><a href="../page/user_changeFormula.html">快捷重签</a></li>
                            <li><a href="../page/user_delete.html">快捷销户</a></li>
                            <li><a href="../page/user_reportShortcut.html">快捷操作记录</a></li>
                            <li><a href="../page/user_docNum.html">档案号管理</a></li>
                            <li><a href="../page/user_sendMsg.html">短信群发</a></li>
                        </ul>

                    </div>
                </li>

                <li class="nav_dropdown nav_icon">
                    <a href="javascript:;"><span class="ui-icon ui-icon-pencil"></span>抄表管理</a>

                    <div class="nav_menu">
                        <ul>
                            <li><a href="../page/rd_volume.html">表册管理</a></li>
                            <li><a href="../page/rd_init.html">抄表初始化</a></li>
                            <li><a href="../page/rd_task.html">任务分配</a></li>
                            <li><a href="../page/rd_enter.html">抄表录入</a></li>
                            <li><a href="../page/rd_audit.html">抄表审核</a></li>
                            <li><a href="../page/rd_reportReading.html">抄表情况查询</a></li>
                            <li><a href="../page/rd_reportVolumeReading.html">抄表统计报表</a></li>
                            <li><a href="../page/rd_reportZero.html">零吨位用户查询</a></li>
                            <li><a href="../page/rd_reportMaxValue.html">最大码值修正记录</a></li>
                            <li><a href="../page/rd_reportCPreAmount.html">底码修正记录</a></li>
                            <li><a href="../page/rd_reportMeterCheck.html">水表周检报表</a></li>
                        </ul>

                    </div>
                </li>

                <li class="nav_dropdown nav_icon">
                    <a href="javascript:;"><span class="ui-icon ui-icon-star"></span>收费管理</a>

                    <div class="nav_menu">
                        <ul>
                            <li><a href="../page/pay_window.html">窗口收费</a></li>
                            <li><a href="../page/pay_batch.html">批量收费</a></li>
                            <li><a href="../page/pay_invoiceReprint.html">发票补开/作废</a></li>
                            <li><a href="../page/pay_reportDebts.html">欠费报表</a></li>
                            <li><a href="../page/pay_reportPay.html">收费情况报表</a></li>
                            <li><a href="../page/pay_reportMonthRecycle.html">月资金回收情况报表</a></li>
                            <li><a href="../page/pay_reportBalance.html">用户预收情况报表</a></li>
                            <li><a href="../page/pay_reportWaterType.html">各类用水统计总表</a></li>
                        </ul>

                    </div>
                </li>

                <li class="nav_dropdown nav_icon">
                    <a href="javascript:;"><span class="ui-icon ui-icon-script"></span>发票管理</a>

                    <div class="nav_menu">
                        <ul>
                            <li><a href="/queryIvInvoice">发票总表</a></li>
                            <li><a href="/addview">发票入库</a></li>
                            <li><a href="/addout">发票出库</a></li>
                            <li><a href="/addArchive">发票交票</a></li>
                            <li><a href="/queryOut">发票出库情况查询</a></li>
<<<<<<< HEAD
                            <li><a href="../page/inv_invoiceReportEmp.html">收费人员发票查询</a></li>
                            <li><a href="../page/inv_invoiceReportArchive.html">发票交票情况查询</a></li>
                            <li><a href="../page/inv_invoiceReportUse.html">发票使用情况查询</a></li>
                            <li><a href="../page/inv_invoiceReportMoneySum.html">销账汇总报表</a></li>
                            <li><a href="../page/inv_invoiceReportMoneyDetail.html">销账明细报表</a></li>
=======
                            <li><a href="inv_invoiceReportEmp.html">收费人员发票查询</a></li>
                            <li><a href="inv_invoiceReportArchive.html">发票交票情况查询</a></li>
                            <li><a href="inv_invoiceReportUse.html">发票使用情况查询</a></li>
                            <li><a href="inv_invoiceReportMoneySum.html">销账汇总报表</a></li>
                            <li><a href="inv_invoiceReportMoneyDetail.html">销账明细报表</a></li>
>>>>>>> 44fe0bde40fc461e32cae351c1883e6b70f9db82
                        </ul>
                    </div>
                </li>

                <li class="nav_dropdown nav_icon">
                    <a href="javascript:;"><span class="ui-icon ui-icon-gear"></span>系统设置</a>

                    <div class="nav_menu">
                        <ul>
                            <li><a href="querySyArea">抄表辖区</a></li>
                            <li><a href="/querySyMetertype">水表型号</a></li>
                            <li><a href="../page/sys_dept.html">部门管理</a></li>
                            <li><a href="../page/sys_emp.html">员工管理</a></li>
                            <li><a href="../page/sys_menupower.html">菜单权限设置</a></li>
                            <li><a href="../page/sys_areapower.html">辖区权限设置</a></li>
                            <li><a href="../page/sys_waterType.html">用水类型设定</a></li>
                            <li><a href="../page/sys_surcharge.html">附加费设定</a></li>
                            <li><a href="../page/sys_flow.html">流程配置</a></li>
                        </ul>

                    </div>
                </li>

                <li class="nav_current nav_dropdown nav_icon_only">
                    <a href="javascript:;">&nbsp;</a>

                    <div class="nav_menu">
                        <ul>
                            <li><a href="../workspace.html">我的工作台</a></li>
                            <li><a href="../page/sys_pwd.html">修改密码</a></li>
                            <li><a href="../login.html">退出系统</a></li>
                        </ul>
                    </div> <!-- .menu -->
                </li>
            </ul>
        </div> <!-- .content_pad -->

    </div> <!-- #header -->

    <div id="masthead">
        <div>
            <span id="pagetitle"><a href="javascript:;">发票总表</a></span>
            <span id="welcome_span">欢迎回来，马云</span>
        </div>
    </div> <!-- #masthead -->

    <div id="content" class="xgrid">


        <div class="x12">

            <h2>发票总表</h2>

            <a href="javascript:;" onclick="$('#description').toggle();">显示/隐藏说明</a>
            <div id="description" class="hide">
                发票使用流程为：入库->出库->使用/作废->交票<br/>
                总张数：从税务局入库至公司财务室的发票总张数<br/>
                出库数：从财务室出库至收费室收费员手中总张数<br/>
                未出数：即[总张数]减[出库数]<br/>
                已用数：从收费员手中打印给客户的发票总张数（保有第二联）<br/>
                作废数：从收费员手中做作废处理的发票总张数<br/>
                待用数：在收费员手中还可以使用的发票总数，即[出库数]-([已用数]+[作废数])<br/>
                已交数：从收费员手中交还至财务室进行归档做账的发票总张数<br/>
                未交数：尚留在收费员手中的发票，可以是已用的，作废的或待用的<br/>
                <br/>
            </div>

            <table class="data display">
                <thead>
                <tr>
                    <th width="80">发票类型</th>
                    <th width="80">起始号码</th>
                    <th width="80">终止号码</th>
                    <th width="60">总张数</th>
                    <th width="60">出库数</th>
                    <th width="60">未出数</th>
                    <th width="60">已用数</th>
                    <th width="60">作废数</th>
                    <th width="60">待用数</th>
                    <th width="60">已交数</th>
                    <th width="60">未交数</th>
                    <th width="80">入库日期</th>
                    <th>入库操作员</th>
                </tr>
                </thead>
                <tbody>
                <tr class="odd" th:each="f:${list}">
<<<<<<< HEAD
                    <td th:if="*{f.InvoiceType eq 0 }">
                        <span th:text="普通发票"></span>
                    </td>
                    <td th:if="*{f.InvoiceType eq 1 }">
=======
                    <td th:if="*{f.InvoiceType eq 1 }">
                        <span th:text="普通发票"></span>
                    </td>
                    <td th:if="*{f.InvoiceType eq 2 }">
>>>>>>> 44fe0bde40fc461e32cae351c1883e6b70f9db82
                        <span th:text="增值税发票"></span>
                    </td>
                    <td th:text="*{f.StartNo}"></td>
                    <td th:text="*{f.EndNo}"></td>
                    <td th:text="*{f.Counts}"></td>
                    <td th:text="*{f.s}"></td>
                    <td th:text="*{f.Counts}-*{f.s}"></td>
                    <td th:text="*{f.Used}"></td>
                    <td th:text="*{f.Invalid}"></td>
                    <td th:text="*{f.s}-(*{f.Used}+*{f.Invalid})<0?'0':*{f.s}-(*{f.Used}+*{f.Invalid})"></td>
                    <td th:text="*{f.Archived}"></td>
                    <td th:text="*{f.Used}+*{f.Invalid}+(*{f.s}-(*{f.Used}+*{f.Invalid}))"></td>
                    <td th:text="*{#dates.format(f.InDate, 'yyyy年MM月dd日 HH:mm')} "></td>
                    <td th:text="*{f.EmpNmae}"></td>
                </tr>

                </tbody>
            </table>
            <form action="" method="get" name="f1">
                <div class="page">
                    <a href="javascript:f1.startPage.value=1;f1.submit()">首页</a>
                    <a th:if="${pageInfo.hasPreviousPage}"
                       href="javascript:f1.startPage.value=f1.startPage.value-1;f1.submit()"
                       aria-label="Previous">上一页</a>
                    <input name="startPage" th:value="${startPage }" style="width: 20px"/> / [[${pageInfo.pages}]]页.一共
                    [[${pageInfo.total}]] 条记录
                    <a th:if="${pageInfo.hasNextPage}"
                       href="javascript:f1.startPage.value=f1.startPage.value-0+1;f1.submit()"
                       aria-label="Next">下一页</a>
                    <a th:href="|javascript:f1.startPage.value=${pageInfo.pages};f1.submit()|">尾页</a>
                </div>
            </form>

        </div> <!-- .x12 -->

    </div> <!-- #content -->

    <div id="footer">
        <div class="content_pad">
            <p>&copy; 2013-11 版权所有 <a href="#">湖南省自来水公司</a>. 技术支持 <a href="#">职业教育</a>.</p>
        </div> <!-- .content_pad -->
    </div> <!-- #footer -->

</div> <!-- #wrapper -->

<script src="../js/jquery/jquery-1.5.2.min.js"></script>
<script src="../js/jquery/jquery-ui-1.8.12.custom.min.js"></script>
<script src="../js/misc/excanvas.min.js"></script>
<script src="../js/jquery/facebox.js"></script>
<script src="../js/jquery/jquery.visualize.js"></script>
<script src="../js/jquery/jquery.dataTables.min.js"></script>
<script src="../js/jquery/jquery.tablesorter.min.js"></script>
<script src="../js/jquery/jquery.uniform.min.js"></script>
<script src="../js/jquery/jquery.placeholder.min.js"></script>

<script src="../js/widgets.js"></script>
<script src="../js/dashboard.js"></script>

<script type="text/javascript">

    $(document).ready(function () {
        Dashboard.init();
    });

</script>

</body>

</html>